﻿using System;
using Soveryn.Commerce.API;
using Soveryn.Commerce.BaseClasses;

namespace Soveryn.Commerce.Pages
{
    public partial class MiniCart : PageBaseClass
    {

        protected new void Page_PreInit(object sender, EventArgs e)
        {
            Website = WebsiteData.WebsiteDetail();
            GetCustomer();
        }

        protected void Page_Load(object sender, EventArgs e)
        {

            CartControl.finalCartMode = false;
            CartControl.miniCartMode = true;

            CSSLiteral.Text = "<link href='/Files/Themes/" + Website.DesignFolder + "/style.css' rel='stylesheet' type='text/css' />";
        }

    }
}